-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update packages to reduce npm install warnings (closes #769) #1203
Update packages to reduce npm install warnings (closes #769) #1203
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\r-
@@ -1,7 +1,7 @@ | |||
{ | |||
"compact": false, | |||
"presets": [ | |||
["es2015", { "loose": true }], | |||
["env", { "loose": true }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't use env
because source will be compiled according to the version of node installed on dev machine. Meanwhile, we should always compile for node 10.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you use env without target
option, it behaves like preset-latest
and will enable all transformations that comes in es2015
, es2016
, es2017
. Options should contain { target: {node: "current"}}
to enable node feature detection. https://babeljs.io/docs/plugins/preset-env/#usage https://babeljs.io/docs/plugins/preset-latest/
❌ Tests for the commit 84e06fb have failed. See details: |
❌ Tests for the commit 0b49b4b have failed. See details: |
✅ Tests for the commit 0b49b4b have passed. See details: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
DevExpress#1203) * Update packages to reduce npm install warnings (closes DevExpress#769) * Disable regenerator for node>=4
\cc @inikulin @AlexanderMoskovkin
Remained warnings are from:
gulp
DevDep, Up-to-daterecursive-copy
DevDep, Up-to-datesaucelabs-connector
DevDep, issue for update